#include "SimpleTool.h"



SimpleTool::SimpleTool()
{
	int re = 1;
}
SimpleTool::~SimpleTool()
{
	int re = 2;
}
void SimpleTool::drawDiamond(MyPoint center,GLint size)
{


	
		//glBegin(GL_LINE_STIPPLE); what parame
		//glBegin(GL_LINE_STRIP);
	glPointSize(4.0);
		glBegin(GL_LINE_LOOP);
		glVertex2i(center.x - size, center.y);
		glVertex2i(center.x, center.y +size);
		glVertex2i(center.x + size, center.y);
		glVertex2i(center.x , center.y -size);

		glEnd();

	
}
void SimpleTool::drawDots(MyPoint point)
{
	glBegin(GL_POINTS);
	glVertex2i(point.x, point.y);
	glEnd();
}